package com.dwxt.parabolic.event;

import com.dwxt.parabolic.entity.Device;
import com.dwxt.parabolic.entity.Event;
import com.dwxt.parabolic.entity.User;
import org.springframework.context.ApplicationEvent;

import java.util.List;

/**
 * 高空抛物等事件
 */
public class EventUpload extends ApplicationEvent {
    private Event event;

    public EventUpload(Object source) {
        super(source);
    }

    public EventUpload(Object source, Event event) {
        super(source);
        this.event = event;
    }

    public Event getEvent() {
        return event;
    }
}
